package com.yc.sp_index.web.fegin;

import com.yc.cloudvideo.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("sp-user")
public interface ISp_user {
    @PostMapping("cloudvideo/user/selectStoreOwner")
    User selectStoreOwner(@RequestParam("cid") int cid);
    @PostMapping("cloudvideo/user/getUserByUid")
    User getUserByUid(@RequestParam("uid") int uid);
}
